-- GENERATED SPELL FOR [Corrupted Bloodtalon Scythemaw] --


function spell0_3227(pUnit, Event) --@Rushing Charge,Self--
pUnit:FullCastSpellOnTarget(6268,pUnit)
pUnit:RegisterEvent('Sorts_3227', 3000, 1)
end

function Sorts_3227(pUnit, Event)
local choix_sorts_3227 = math.random(0, 0)
if choix_sorts_3227 == 0 then
pUnit:RegisterEvent('spell0_3227', 1, 1)
end
end

function mob3227_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3227', math.random(1500, 3000), 1)
end

function mob3227_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3227_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3227_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3227, 1, 'mob3227_Action')
RegisterUnitEvent(3227, 2, 'mob3227_Leave')
RegisterUnitEvent(3227, 3, 'mob3227_Kill')
RegisterUnitEvent(3227, 4, 'mob3227_Die')
